package com.integralPerformance.service;

import com.integralPerformance.common.Result;
import com.integralPerformance.pojo.entity.JobPosition;
import com.baomidou.mybatisplus.extension.service.IService;
import com.integralPerformance.pojo.form.add.AddJobPosition;
import com.integralPerformance.pojo.query.JobPositionQuery;
import com.integralPerformance.pojo.vo.BaseVo;
import com.integralPerformance.pojo.vo.JobPositionVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
* @author admin
* @description 针对表【job_position(职称类型管理表)】的数据库操作Service
* @createDate 2024-04-03 21:42:22
*/
public interface JobPositionService extends IService<JobPosition> {

    Result<BaseVo<JobPositionVo>> getList(JobPositionQuery jobPositionQuery);

    Result<?> getType();

    Result<?> getDetails(String type);


    @Transactional
    Result deleteById(String id);

    Result<?> addOne(AddJobPosition addJobPosition);
}
